package com.example.jetpacktest.livedata

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class ProgressWithLiveDataViewModel : ViewModel() {
    var progress: MutableLiveData<Int>? = MutableLiveData()

    override fun onCleared() {
        super.onCleared()
        progress = null
    }
}